package com.chenfan.process.common.utils;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

/**
 * @author K
 * @date 2021/3/4
 */
public class QueryWrapperUtils {

    private QueryWrapperUtils() {}

    public static <T> QueryWrapper<T> newQueryWrapper() {
        QueryWrapper<T> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq("deleted_flag", Boolean.FALSE);
        return queryWrapper;
    }
}
